feat(os/freebsd): add support - #1632
Conversation
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
6a2c193 to
1dabbf0
Compare
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
56220b5 to
9126adc
Compare
… to arch linux sections where similar Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
9126adc to
2fde34e
Compare
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
…bash` Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com> This approach still works for GNU/Linux :) Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
f10f2c9 to
3142474
Compare
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
3142474 to
45e5a49
Compare
Signed-off-by: Mumtahin Farabi <mfarabi619@gmail.com>
f70fc89 to
f2b7066
Compare
f2b7066 to
7845d42
Compare
|
Still working on this :) |
|
Woah!!! |
|
BTW The arch installer is too brittle and I don't want it to be technical debt anymore. I think it is best to make a separate Installer handling different OS. Clone HyDE and Parse the Config/. I am planning to ditch this installer too. So for this patch make it specific for ./Config files only
Take note I don't have any machine so I can't test this too. |
kRHYME7
left a comment
There was a problem hiding this comment.
This is all I can review for now. I ignored any changes in Scripts as I suggested in here
There was a problem hiding this comment.
I will handle this differently
I suggest doing this:
-
Revert all sed changes
-
Now as you might already notice, you know we can ship our own sed version
~/.local/lib/hyde/sed(or$LIB_DIR/hyde/sed) <- this is a script to handle any patch to any binary, you can handle the handover or the override here
# your custom sed
sed -i '' "${@}"- Ship it with your installer of HyDE as I suggested here.
you can customize your own restore_cfg.psv and add stuff
O | ${HOME}/.local/lib/hyde| sed | pkg
This will force users to haeve there sed wrapper that is accustomed for bsd. Put it below the other Core HyDE packages.
| show_theme_status | ||
| if ! dconf write /org/gnome/desktop/interface/icon-theme "'$ICON_THEME'"; then | ||
| print_log -sec "theme" -warn "dconf" "failed to set icon theme" | ||
| if command -v dconf >/dev/null 2>&1 && { [[ -n "${DBUS_SESSION_BUS_ADDRESS:-}" ]] || [[ -n "${DISPLAY:-}" ]]; }; then |
There was a problem hiding this comment.
Is this BSD related if not please send as separate patch please.
There was a problem hiding this comment.
also for this one this might be a separate patch that targets non systemd. So this should be a separate PR.
There was a problem hiding this comment.
We can add this patches in advance so for the BSD specific patchs are easier to review.
There was a problem hiding this comment.
If you are comfortable with python too please add a backend for pm.py in ./pm/. The python backend will be use for internal stuff and can have advance flags compared to pm.sh.
There was a problem hiding this comment.
do you need help with this ? I have this https://github.com/HyDE-Project/hydectl/ CLI in go and I think this binary will become a good backend command for screenshots with builtin Window manager support. |
|
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |

Description
Closes #1329.
Current setup is completely daily-drivable, however is not feature-complete to qualify the HyDE spec. Feel welcome to tack on commits.
I'm scanning the entire build system and flagging packages that don't exist in base tree or ports and may need to be built from source.
Progress:
[WIP] Hyprlock
Hyprcursor
Wallbash
Theme changes
hydevmviaqemuand/orbhyveon GNU/Linux, FreeBSD, and also Darwin (macOS)[IN PROGRESS] Screenshots with
grimandslurpSteam via Linux Binary Compatibiliy
Install Script
Graphics Drivers - Chapter 5.2. Graphics Drivers
[-] Login Managers
Hyprland
Waybar via
dbus-launchRofi
zsh
Kitty
fastfetch
Emacs - Chapter 2. Programming Tools
Neovim
Media
snd_driver- Chapter 9. Multimediawebcamdandpwcview- Chapter 9. MultimediaEmojis
Fonts -
jetbrains-mono,nerd-fonts,noto-emojiFirefox
HydeBSD Logo
Add official HyDE support for my super-duper ultra riced FreeBSD setup that I've been daily driving for the last few months and can attest to being stable enough to do my full-time software engineering and schooling work from. :)
Originally and affectionately named DoomBSD, as my goal with it is to provide a nice modular config experience similar to the following:
My setup can be found here.
Relevant areas:
I've already gone through the FreeBSD Handbook and finished setting up all the goodies such as Linux Binary Compability, Virualization, Containerization, Webcam, Screenshots, Code editing, Media, Web Browsing, and a little bit of gaming.
OS Concept mappings
For those in GNU/Linux ecosystem unfamiliar with Hyprland, I hope this helps.
boot/loader.confsystemctlsysctl/compat/linux, Docker via docker-machine & VirtualBox or DockerBoxsystemd-nspawn, OCI Containers, Podman, etc.Please note that the FreeBSD project contains the entire ecosystem of kernel + userspace + packages and more, whereas Arch Linux is mostly an outstanding build system with
pacmanadding sensible abstractions over lower levelpkgprimitives; therefore not all concepts are mappable nor a fair comparison. :)Type of change
Checklist
Screenshots